package com.example.sinoyd.frameapplication.ProjectCodes.Dataclass;

import java.util.List;

/**
 * 作者： scj
 * 创建时间： 2018/5/29
 * 版权： 江苏远大信息股份有限公司
 * 描述： com.example.sinoyd.frameapplication.ProjectCodes.Dataclass
 */


public class GetHourDataByDatetime {


    private List<ListBean> list;

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * portName : 北桥
         * time : 2018/5/24 14:00:00
         * datas : [{"factor":"pH值","value":"7.46"},{"factor":"浊度","value":"85.1"},{"factor":"溶解氧","value":"1.84"},{"factor":"水温","value":"26.7"},{"factor":"电导率","value":"668.6"},{"factor":"氨氮","value":"0.45"},{"factor":"总磷","value":"0.176"}]
         */

        private String portName;
        private String time;
        private List<DatasBean> datas;

        public String getPortName() {
            return portName;
        }

        public void setPortName(String portName) {
            this.portName = portName;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public List<DatasBean> getDatas() {
            return datas;
        }

        public void setDatas(List<DatasBean> datas) {
            this.datas = datas;
        }

        public static class DatasBean {
            /**
             * factor : pH值
             * value : 7.46
             */

            private String factor;
            private String value;

            public String getFactor() {
                return factor;
            }

            public void setFactor(String factor) {
                this.factor = factor;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }
    }
}
